package cn.uniquesoft.service.impl;

import cn.uniquesoft.mapper.VisitMapper;
import cn.uniquesoft.service.IVisitService;
import cn.uniquesoft.service.base.BaseServiceImpl;
import cn.uniquesoft.vo.VisitVO;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class VisitServiceImpl extends BaseServiceImpl<VisitVO> implements IVisitService  {
    private VisitMapper visitMapper;
    public VisitServiceImpl(VisitMapper visitMapper){
        super();
        this.baseMapper=visitMapper;
        this.visitMapper=visitMapper;
    }

    @Override
    public List<VisitVO> findListDown(VisitVO item) {
        return this.visitMapper.findListDown(item);
    }

    @Override
    public List<VisitVO> findListUp(VisitVO item) {
        return this.visitMapper.findListUp(item);
    }

    @Override
    public List<VisitVO> getItemsFirst(VisitVO item) {
        return this.visitMapper.getItemsFirst(item);
    }

    @Override
    public List<VisitVO> findGather(VisitVO item) {
        return this.visitMapper.findGather(item);
    }
}
